package com.itce.arco.practicenote.day01.practice3;

public class Dog extends Animal{
    public Dog (String name, int age, double weight) {
        super(name,age,weight);
    }
    @Override
    public void work() {
        System.out.println(getName() + "正在看家");
    }
    public void frieng () {
        System.out.println("dog是人类的好朋友");
    }
}
